package com.example.yigoumall.dto;

import lombok.Data;

@Data
public class LoginResponse {
    private Integer id;
    private String loginName;
    private String userName;
    private Integer type;
    private String token;
    
    public LoginResponse(Integer id, String loginName, String userName, Integer type, String token) {
        this.id = id;
        this.loginName = loginName;
        this.userName = userName;
        this.type = type;
        this.token = token;
    }
}